package com.wan.usercenter.pojo.entity;

import java.io.Serializable;
import java.util.Date;

public class BasicTenant implements Serializable {
    private Long id;

    private String account;

    private String password;

    private String name;

    private String profilePicture;

    private Byte sex;

    private Date birthday;

    private String tel;

    private String email;

    private String other;

    private Byte tenantAttr;

    private String orgName;

    private Date availableTime;

    private Date expireTime;

    private String remark;

    private Long createdBy;

    private String creator;

    private Date createdTime;

    private Long updatedBy;

    private String modifier;

    private Date updatedTime;

    private Byte status;

    private Long version;

    private static final long serialVersionUID = 1L;

    public BasicTenant(Long id, String account, String password, String name, String profilePicture, Byte sex, Date birthday, String tel, String email, String other, Byte tenantAttr, String orgName, Date availableTime, Date expireTime, String remark, Long createdBy, String creator, Date createdTime, Long updatedBy, String modifier, Date updatedTime, Byte status, Long version) {
        this.id = id;
        this.account = account;
        this.password = password;
        this.name = name;
        this.profilePicture = profilePicture;
        this.sex = sex;
        this.birthday = birthday;
        this.tel = tel;
        this.email = email;
        this.other = other;
        this.tenantAttr = tenantAttr;
        this.orgName = orgName;
        this.availableTime = availableTime;
        this.expireTime = expireTime;
        this.remark = remark;
        this.createdBy = createdBy;
        this.creator = creator;
        this.createdTime = createdTime;
        this.updatedBy = updatedBy;
        this.modifier = modifier;
        this.updatedTime = updatedTime;
        this.status = status;
        this.version = version;
    }

    public BasicTenant() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getProfilePicture() {
        return profilePicture;
    }

    public void setProfilePicture(String profilePicture) {
        this.profilePicture = profilePicture == null ? null : profilePicture.trim();
    }

    public Byte getSex() {
        return sex;
    }

    public void setSex(Byte sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other == null ? null : other.trim();
    }

    public Byte getTenantAttr() {
        return tenantAttr;
    }

    public void setTenantAttr(Byte tenantAttr) {
        this.tenantAttr = tenantAttr;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName == null ? null : orgName.trim();
    }

    public Date getAvailableTime() {
        return availableTime;
    }

    public void setAvailableTime(Date availableTime) {
        this.availableTime = availableTime;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Long getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Long updatedBy) {
        this.updatedBy = updatedBy;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", account=").append(account);
        sb.append(", password=").append(password);
        sb.append(", name=").append(name);
        sb.append(", profilePicture=").append(profilePicture);
        sb.append(", sex=").append(sex);
        sb.append(", birthday=").append(birthday);
        sb.append(", tel=").append(tel);
        sb.append(", email=").append(email);
        sb.append(", other=").append(other);
        sb.append(", tenantAttr=").append(tenantAttr);
        sb.append(", orgName=").append(orgName);
        sb.append(", availableTime=").append(availableTime);
        sb.append(", expireTime=").append(expireTime);
        sb.append(", remark=").append(remark);
        sb.append(", createdBy=").append(createdBy);
        sb.append(", creator=").append(creator);
        sb.append(", createdTime=").append(createdTime);
        sb.append(", updatedBy=").append(updatedBy);
        sb.append(", modifier=").append(modifier);
        sb.append(", updatedTime=").append(updatedTime);
        sb.append(", status=").append(status);
        sb.append(", version=").append(version);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}